package org.example;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class Main {
    public static void main(String[] args) {
//        System.out.println("Hello world!");
//        SpringApplication.run(Main.class, args);

        SpringApplication app = new SpringApplication(Main.class);
        // 确保WebSocket在Tomcat之后初始化
        app.setLazyInitialization(false);
        app.run(args);
    }
}